package com.example.demo;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.widget.TextView;

public class HttpUrlConnectionGetActivity extends AppCompatActivity {
     private TextView textView;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_http_url_connection_get);
        textView = findViewById(R.id.HUC_get);

        Intent intent = getIntent();
        String html = intent.getStringExtra("CONTENT");
        Log.e("xxxxxx",html);
        textView.setText(html);
        setTitle("使用HttpUrlConnectionGet");
    }
}
